package com.ibeeking.found.msg.service.common.param;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName MsgRelationBO
 * @Description 消息关系映射
 * @Author ibeeking
 * @Date 2020-12-09 10:53
 **/
@Data
public class SmsRelationParam implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 租户id
     */
    @NotNull(message = "租户id必选")
    private Integer tenantId;

    /**
     * 通知消息类型id
     */
    @NotNull(message = "通知消息类型必选")
    private Long msgTypeId;

    /**
     * 消息秘钥配置id
     */
    @NotNull(message = "消息秘钥配置必选")
    private Long msgConfigId;

    /**
     * 消息签名id
     */
    @NotNull(message = "消息签名必选")
    private Long msgSignId;

    /**
     * 消息模板id
     */
    @NotNull(message = "消息模板必选")
    private Long msgTemplateId;

}
